<!--{if !$_G['inajax']}-->
	<!--{template common/header}-->
	<div id="ct" class="wp cl w">
		<div class="nfl">
<!--{else}-->
	<!--{template common/header_ajax}-->
<!--{/if}-->
<!--{if $param[msgtype] == 1 || $param[msgtype] == 2 && !$_G[inajax]}-->
		<div class="f_c altw">
			<div id="messagetext" class="$alerttype">
				<p>$show_message</p>
				<!--{if $url_forward}-->
					<!--{if !$param[redirectmsg]}-->
						<p class="alert_btnleft"><a href="$url_forward">{lang If your browser does not support frames, please click on this link}</a></p>
					<!--{else}-->
						<p class="alert_btnleft"><a href="$url_forward">{lang If {$refreshsecond} seconds after the download does not start, please click on this link}</a></p>
					<!--{/if}-->
				<!--{elseif $allowreturn}-->
				<script type="text/javascript">
					if(history.length > (BROWSER.ie ? 0 : 1)) {
						document.write('<p class="alert_btnleft"><a href="javascript:history.back()">{lang Go back}</a></p>');
					}
				</script>
				<!--{/if}-->				
			</div>
			<!--{if $param[login]}-->
				<div id="messagelogin"></div>
				<script type="text/javascript">ajaxget('index.php?option=member&task=login&infloat=yes&frommessage', 'messagelogin');</script>
			<!--{/if}-->
		</div>
<!--{elseif $param[msgtype] == 2}-->
		<h3 class="flb"><em>{lang Message}</em><!--{if $_G[inajax]}--><span><a href="javascript:;" class="flbc" onclick="hideWindow('$_G['gp_handlekey']');" title="{lang Close}">{lang Close}</a></span><!--{/if}--></h3>
		<div class="c altw">
			<div class="$alerttype">$show_message</div>
		</div>
		<!--{if $param[login]}-->
			<p class="o pns">
				<button type="button" class="pn pnc" onclick="hideWindow('$_G['gp_handlekey']');showWindow('login', 'index.php?option=member&task=login');"><strong>{lang Login}</strong></button>
				<!--{if !$_G['setting']['siteclosed']}-->
					<button type="button" class="pn pnc" onclick="hideWindow('$_G['gp_handlekey']');showWindow('register', 'index.php?option=member&task={$_G[setting][regname]}');"><em>$_G['setting']['reglinkname']</em></button>
				<!--{/if}-->
				<button type="button" class="pn" onclick="hideWindow('$_G['gp_handlekey']');"><em>{lang Cancel}</em></button>
			</p>
		<!--{else}-->
			<p class="o pns"><button type="button" class="pn pnc" onclick="hideWindow('$_G['gp_handlekey']');"><strong>{lang Close}</strong></button></p>
		<!--{/if}-->
<!--{else}-->$show_message<!--{/if}-->
<!--{if !$_G['inajax']}-->
		</div>
	</div>
	<!--{template common/footer}-->
<!--{else}-->
	<!--{template common/footer_ajax}-->
<!--{/if}-->